<?php
namespace app\common\validate;

use think\Validate;

class OrdersPhotos extends Validate
{
    protected $rule = [
        'order_id'  => 'require',
        'images'    => 'require',
        'advise'    => 'require',
    ];

    protected $message = [
        'images'  => '请上传底片',
        'advise'  => '请输入修片建议',
    ];

    protected $scene = [
        'add' => ['order_id','images','advise'],
    ];
}